package lormi.meipin.service.impl;


import java.util.Date;

import org.springframework.stereotype.Service;

import lormi.meipin.entity.TellLog;
import lormi.meipin.service.BaseService;
import lormi.meipin.service.ITellLogService;

@Service
public class TellLogService extends BaseService implements ITellLogService{

	@Override
	public int insert(Integer fromid,Integer toid){
		TellLog tl = new TellLog();
		tl.setFromid(fromid);
		tl.setToid(toid);
		tl.setCreatetime(new Date());
		return tellLogMapper.insert(tl);
	}
	
}
